package cn.messageplus.core.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component("messagePlusCoreProperties")
@ConfigurationProperties(prefix = "messagepluscore")
public class MPCProperties {
    /**
     * 端口
     */
    public static short port = 5219;



    public static short getPort() {
        return port;
    }
    public void setPort(short port) {
        MPCProperties.port = port;
    }
}
